package net.deuce.perf;

import net.deuce.rc.client.RunCommand;
import net.deuce.rc.client.RemoteCommand;
import net.deuce.rc.client.RemoteException;
import net.deuce.rc.client.RemoteCommandClient;

public class RunCommandWrapper implements RemoteCommand {

    private RunCommand runCommand;
    private boolean haltOnError;

    public String execute() throws RemoteException {
        return runCommand.execute();
    }

    public boolean isReturnOutput() {
        return runCommand.isReturnOutput();
    }

    public void setReturnOutput(boolean b) {
        runCommand.setReturnOutput(b);
    }

    public String getConfirmString() {
        return runCommand.getConfirmString();
    }

    public void setConfirmString(String s) {
        runCommand.setConfirmString(s);
    }

    public RemoteCommandClient getRemoteCommandClient() {
        return runCommand.getRemoteCommandClient();
    }

    public void setRemoteCommandClient(RemoteCommandClient remoteCommandClient) {
        runCommand.setRemoteCommandClient(remoteCommandClient);
    }

    public String getCommand() {
        return runCommand.getCommand();
    }

    public void setCommand(String s) {
        runCommand.setCommand(s);
    }

    public String getLabel() {
        return runCommand.getLabel();
    }

    public void setLabel(String s) {
        runCommand.setLabel(s);
    }

    public void setBeanName(String s) {
        runCommand.setBeanName(s);
    }

    public RunCommand getRunCommand() {
        return runCommand;
    }

    public void setRunCommand(RunCommand runCommand) {
        this.runCommand = runCommand;
    }

    public boolean isHaltOnError() {
        return haltOnError;
    }

    public void setHaltOnError(boolean haltOnError) {
        this.haltOnError = haltOnError;
    }
}
